package com.newy.domain.sys;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.newy.core.hibernate.IdEntity;

/**
 * 用户-角色关联实体类
 * @author linzongxue
 *
 */
@Entity
@Table(name="sys_role_user")
public class RoleUser extends IdEntity {
	private Long userId;
	private Long roleId;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
